rank1_update Interface

public interface rank1_update

An interface to the rank-1 update routines.


Module Procedures

private subroutine rank1_update_dbl(alpha, x, y, a, err)

Performs a rank-1 update of a matrix of the form .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: alpha

The scalar to multiply the outer product of and .

real(kind=real64), intent(in), dimension(:) :: x

The vector in the outer product.

real(kind=real64), intent(in), dimension(:) :: y

The vector in the outer product.

real(kind=real64), intent(inout), dimension(:,:) :: a

The matrix to update.

class(errors), intent(inout), optional, target :: err

An error object to report any errors that occur.

private subroutine rank1_update_cmplx(alpha, x, y, a, err)

Performs a rank-1 update of a matrix of the form .

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in) :: alpha

The scalar to multiply the outer product of and .

complex(kind=real64), intent(in), dimension(:) :: x

The vector in the outer product.

complex(kind=real64), intent(in), dimension(:) :: y

The vector in the outer product.

complex(kind=real64), intent(inout), dimension(:,:) :: a

The matrix to update.

class(errors), intent(inout), optional, target :: err

An error object to report any errors that occur.